package com.shanzmoo.db.module.member.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shanzmoo.db.module.member.domain.query.MemberAccountPageQuery;
import com.shanzmoo.db.module.member.domain.query.MemberTransPageQuery;
import com.shanzmoo.db.module.member.domain.vo.MemberAccountRecordVO;
import com.shanzmoo.db.module.member.domain.vo.MemberAccountTransVO;
import com.shanzmoo.db.module.member.entity.MemberAccountRecordEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shanzmoo.db.module.psys.domain.vo.user.UserPageVo;

import java.util.List;

/**
 * <p>
 * 会员账户金额变动记录 服务类
 * </p>
 *
 * @author wangyudi
 * @since 2021-03-24
 */
public interface IMemberAccountRecordService extends IService<MemberAccountRecordEntity> {

    IPage<MemberAccountRecordVO> queryByRequest(MemberAccountPageQuery query);

    List<MemberAccountRecordEntity> getbyMemberMerchantId(Integer id);

    List<MemberAccountRecordEntity> getByMemberIds(List<Integer> collect);

    Page<MemberAccountTransVO> transListByRequest(MemberTransPageQuery request);
}
